Color.findColorObjectByValue Method

Returns a named color from its RGB value, if available.
 
 
Static This method is static.

Parameters

searchValue

Type: Number
The RGB value of the color to look for.

Return Value


Type: Object - May be null
A plain object with properties:
     name    [type: String]      - The name of the color.
     value   [type: Number]      - The RGB value as an integer.